Fix crasher when running 'ostree cat'
authorStef Walter <stefw@redhat.com>
Wed, 14 Aug 2013 07:01:18 +0000 (09:01 +0200)
committerStef Walter <stefw@redhat.com>
Wed, 14 Aug 2013 12:53:17 +0000 (14:53 +0200)
Cause was a buffer read overrun.

https://bugzilla.gnome.org/show_bug.cgi?id=705964

src/ostree/ot-builtin-cat.c

index c3f113f2e20e6a6d1258250415aef3812963377d..eac3a286507d03eb0a198b5fefd14efef54064e3 100644 (file)
@@ -29,6 +29,7 @@
 #include <gio/gunixoutputstream.h>
 
 static GOptionEntry options[] = {
+  { NULL },
 };
 
 static gboolean